package com.qingfeng.client.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

import io.swagger.models.auth.In;
import lombok.Data;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/3/11 3:49 下午
 */
@ApiModel(value = "com.qingfeng.client.bean.AfterSell")
@Data
@TableName(value = "after_sell")
public class AfterSell {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 退款编码
     */
    @TableField(value = "code")
    @ApiModelProperty(value = "退款编码")
    private String code;
  /**
     * 订单编号
     */
    @TableField(value = "order_store_code")
    @ApiModelProperty(value = "退款编码")
    private String orderStoreCode;

    /**
     * 单个物品订单
     */
    @TableField(value = "order_goods_id")
    @ApiModelProperty(value = "单个物品订单")
    private Long orderGoodsId;

    /**
     * 商品id
     */
    @TableField(value = "goods_id")
    @ApiModelProperty(value = "商品id")
    private Long goodsId;

    /**
     * 商品名称
     */
    @TableField(value = "goods_name")
    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    /**
     * 商品属性
     */
    @TableField(value = "goods_attrs")
    @ApiModelProperty(value = "商品属性")
    private String goodsAttrs;

    /**
     * 商品图片
     */
    @TableField(value = "goods_pic")
    @ApiModelProperty(value = "商品图片")
    private String goodsPic;

    /**
     * 实际退款金额
     */
    @TableField(value = "back_money")
    @ApiModelProperty(value = "实际退款金额")
    private Integer backMoney;

    /**
     * 退款原因
     */
    @TableField(value = "reason")
    @ApiModelProperty(value = "退款原因")
    private String reason;

    /**
     * 物流记录id
     */
    @TableField(value = "logistice_company")
    @ApiModelProperty(value = "物流记录id")
    private String logisticeCompany;

    /**
     * 物流编号
     */
    @TableField(value = "logistice_code")
    @ApiModelProperty(value = "物流编号")
    private String logisticeCode;

    /**
     * 退款状态；1:退款申请等待卖家同意，2:退款协议达成，等待买家确认，3：退款关闭，4：退款成功-1：卖家不同意协议，等待买家修改，-2：卖家未收货，不同意退款，
     */
    @TableField(value = "refund_stat")
    @ApiModelProperty(value = "退款状态；1:退款申请等待卖家同意，2:退款协议达成，等待买家确认，3：退款关闭，4：退款成功-1：卖家不同意协议，等待买家修改，-2：卖家未收货，不同意退款，")
    private Integer refundStat;

    /**
     * 退款方式，1:仅退款，2：退货退款
     */
    @TableField(value = "refund_type")
    @ApiModelProperty(value = "退款方式，1:未发货退款，2：退货退款,3:退款不退货")
    private Integer refundType;

    /**
     * 确认时间
     */
    @TableField(value = "check_time")
    @ApiModelProperty(value = "确认时间")
    private Integer checkTime;

    /**
     * 退款完成时间
     */
    @TableField(value = "finish_time")
    @ApiModelProperty(value = "退款完成时间")
    private Integer finishTime;

    /**
     * 退款凭证1
     */
    @TableField(value = "pic1")
    @ApiModelProperty(value = "退款凭证1")
    private String pic1;

    /**
     * 退款凭证2
     */
    @TableField(value = "pic2")
    @ApiModelProperty(value = "退款凭证2")
    private String pic2;

    /**
     * 退款凭证3
     */
    @TableField(value = "pic3")
    @ApiModelProperty(value = "退款凭证3")
    private String pic3;

    /**
     * 退款凭证4
     */
    @TableField(value = "pic4")
    @ApiModelProperty(value = "退款凭证4")
    private String pic4;

    /**
     * 退款凭证5
     */
    @TableField(value = "pic5")
    @ApiModelProperty(value = "退款凭证5")
    private String pic5;

    /**
     * 退款描述
     */
    @TableField(value = "describes")
    @ApiModelProperty(value = "退款描述")
    private String describes;

    /**
     * 手机号
     */
    @TableField(value = "phone")
    @ApiModelProperty(value = "手机号")
    private String phone;

    /**
     * 购买人id
     */
    @TableField(value = "buyer_id")
    @ApiModelProperty(value = "购买人id")
    private Long buyerId;

    /**
     * 店铺id
     */
    @TableField(value = "store_id")
    @ApiModelProperty(value = "店铺id")
    private Integer storeId;

    /**
     * 创建人/购买人
     */
    @TableField(value = "create_id")
    @ApiModelProperty(value = "创建人/购买人")
    private Long createId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Integer createTime;

    /**
     * 更新人
     */
    @TableField(value = "update_id")
    @ApiModelProperty(value = "更新人")
    private Long updateId;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value = "更新时间")
    private Integer updateTime;
}
